package com.jing.service;

import com.jing.pojo.SensorConfig;

import java.util.List;

/**
 * @author 陈书憬
 * @version 1.0
 * 2024/9/28
 */
public interface SensorService {

    void add(String roomId, String roomName, int dhtPin, int firePin, int ledPin);

    void getIsSet(Integer id);

    List<SensorConfig> selectRoom(Integer roomId);

    void update(String roomId, int dhtPin, int firePin, int ledPin);

    List<SensorConfig> selectAllRoomsList();
}
